<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>房源详情 - 智慧园区</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f5f5f5;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        
        .ios-status-bar {
            height: 44px;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            padding: 0 16px;
            position: relative;
            z-index: 50;
        }
        
        .ios-status-bar.dark {
            background-color: rgba(30, 30, 30, 0.9);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .ios-nav-bar {
            height: 44px;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            padding: 0 16px;
            position: relative;
        }
        
        .ios-nav-bar.dark {
            background-color: rgba(30, 30, 30, 0.9);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }
        
        .glass-card.dark {
            background: rgba(30, 30, 30, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .main-content {
            height: calc(100vh - 88px); /* 状态栏 + 导航栏的高度 */
            overflow-y: auto;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
            padding-bottom: 80px; /* 为底部按钮留出空间 */
        }
        
        .main-content::-webkit-scrollbar {
            display: none;
        }
        
        .tag {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-right: 4px;
        }
        
        .tag-blue {
            background-color: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
        }
        
        .tag-green {
            background-color: rgba(16, 185, 129, 0.1);
            color: #10b981;
        }
        
        .tag-purple {
            background-color: rgba(139, 92, 246, 0.1);
            color: #8b5cf6;
        }
        
        .tag-blue.dark {
            background-color: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
        }
        
        .tag-green.dark {
            background-color: rgba(16, 185, 129, 0.2);
            color: #34d399;
        }
        
        .tag-purple.dark {
            background-color: rgba(139, 92, 246, 0.2);
            color: #a78bfa;
        }
        
        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 12px;
            border-radius: 12px;
            background-color: rgba(243, 244, 246, 0.8);
            width: 80px;
        }
        
        .feature-item.dark {
            background-color: rgba(55, 65, 81, 0.8);
        }
        
        .feature-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: rgba(219, 234, 254, 0.8);
            color: #3b82f6;
            margin-bottom: 6px;
        }
        
        .feature-icon.dark {
            background-color: rgba(30, 58, 138, 0.3);
            color: #60a5fa;
        }
        
        .bottom-action-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 50;
        }
        
        .bottom-action-bar.dark {
            background-color: rgba(30, 30, 30, 0.9);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .image-indicator {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
        }
        
        .indicator-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.6);
        }
        
        .indicator-dot.active {
            background-color: white;
            width: 8px;
            height: 8px;
        }
        
        /* 暗色模式样式 */
        .dark-mode .glass-card {
            background: rgba(30, 30, 30, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .dark-mode .ios-status-bar {
            background-color: rgba(30, 30, 30, 0.9);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .dark-mode .ios-nav-bar {
            background-color: rgba(30, 30, 30, 0.9);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .dark-mode .tag-blue {
            background-color: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
        }
        
        .dark-mode .tag-green {
            background-color: rgba(16, 185, 129, 0.2);
            color: #34d399;
        }
        
        .dark-mode .tag-purple {
            background-color: rgba(139, 92, 246, 0.2);
            color: #a78bfa;
        }
        
        .dark-mode .feature-item {
            background-color: rgba(55, 65, 81, 0.8);
        }
        
        .dark-mode .feature-icon {
            background-color: rgba(30, 58, 138, 0.3);
            color: #60a5fa;
        }
        
        .dark-mode .bottom-action-bar {
            background-color: rgba(30, 30, 30, 0.9);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
    </style>
</head>
<body>
    <div id="app" class="relative h-full">
        <!-- iOS 状态栏 -->
        <div class="ios-status-bar">
            <div class="flex justify-between items-center w-full">
                <div class="text-sm font-medium text-gray-800 dark:text-gray-200">9:41</div>
                <div class="flex space-x-2">
                    <i class="fas fa-signal text-gray-800 dark:text-gray-200"></i>
                    <i class="fas fa-wifi text-gray-800 dark:text-gray-200"></i>
                    <i class="fas fa-battery-full text-gray-800 dark:text-gray-200"></i>
                </div>
            </div>
        </div>
        
        <!-- iOS 导航栏 -->
        <div class="ios-nav-bar">
            <div class="flex justify-between items-center w-full">
                <div class="flex items-center">
                    <i class="fas fa-chevron-left text-blue-500 dark:text-blue-400 mr-2"></i>
                    <span class="text-gray-800 dark:text-gray-200">返回</span>
                </div>
                <div class="text-lg font-semibold text-gray-800 dark:text-gray-200">房源详情</div>
                <div class="w-16 flex justify-end">
                    <i class="fas fa-share-alt text-blue-500 dark:text-blue-400"></i>
                </div>
            </div>
        </div>
        
        <!-- 主内容 -->
        <div class="main-content bg-gray-50 dark:bg-gray-900">
            <!-- 房源图片轮播 -->
            <div class="relative w-full h-72">
                <img src="https://images.unsplash.com/photo-1497366858526-0766cadbe8fa?q=80&w=2069&auto=format&fit=crop" 
                     alt="Office Space" 
                     class="w-full h-full object-cover">
                <div class="absolute top-3 left-3 bg-white/80 dark:bg-black/60 backdrop-blur-sm px-2 py-1 rounded-md text-sm font-medium text-gray-800 dark:text-gray-200">
                    写字楼
                </div>
                <div class="absolute top-3 right-3 bg-white/80 dark:bg-black/60 backdrop-blur-sm px-2 py-1 rounded-md text-sm font-medium text-gray-800 dark:text-gray-200">
                    <i class="fas fa-images mr-1"></i> 1/8
                </div>
                <div class="image-indicator">
                    <div class="indicator-dot active"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                    <div class="indicator-dot"></div>
                </div>
            </div>
            
            <!-- 房源基本信息 -->
            <div class="px-4 py-5 bg-white dark:bg-gray-800">
                <h1 class="text-xl font-bold text-gray-800 dark:text-gray-200 mb-2">科技园A区 5层独立办公室</h1>
                <div class="flex flex-wrap gap-1 mb-3">
                    <span class="tag tag-blue">精装修</span>
                    <span class="tag tag-green">拎包入住</span>
                    <span class="tag tag-purple">采光好</span>
                </div>
                <div class="flex items-center mb-4">
                    <div class="text-2xl font-bold text-blue-600 dark:text-blue-400">¥6,800</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400 ml-1">/月</div>
                    <div class="mx-2 text-gray-300 dark:text-gray-600">|</div>
                    <div class="text-sm text-gray-700 dark:text-gray-300">120㎡</div>
                </div>
                <div class="flex items-center text-sm text-gray-600 dark:text-gray-400">
                    <i class="fas fa-map-marker-alt mr-2 text-gray-500 dark:text-gray-500"></i>
                    <span>科技园区创新路88号A栋5层</span>
                </div>
            </div>
            
            <!-- 房源特点 -->
            <div class="px-4 py-5 bg-white dark:bg-gray-800 mt-2">
                <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200 mb-4">房源特点</h2>
                <div class="flex justify-between mb-4">
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-building"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">5层</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-vector-square"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">120㎡</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-door-open"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">4间办公室</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-couch"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">精装修</div>
                    </div>
                </div>
                <div class="flex justify-between">
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-wifi"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">千兆网络</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-car"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">免费停车</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-user-shield"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">24小时安保</div>
                    </div>
                    <div class="feature-item">
                        <div class="feature-icon">
                            <i class="fas fa-calendar-alt"></i>
                        </div>
                        <div class="text-xs text-gray-700 dark:text-gray-300">随时入驻</div>
                    </div>
                </div>
            </div>
            
            <!-- 房源详情 -->
            <div class="px-4 py-5 bg-white dark:bg-gray-800 mt-2">
                <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3">房源详情</h2>
                <div class="text-sm text-gray-600 dark:text-gray-400 leading-relaxed">
                    <p class="mb-3">位于科技园核心区，交通便利，配套设施齐全，24小时安保，适合科技企业入驻。</p>
                    <p class="mb-3">本房源为科技园A区5层独立办公室，总面积120㎡，分为4间独立办公室，1个会议室，1个休息区和1个茶水间。全套办公家具一应俱全，拎包即可办公。</p>
                    <p class="mb-3">周边配套：</p>
                    <ul class="list-disc pl-5 mb-3">
                        <li>餐饮：园区食堂、星巴克、肯德基等多家餐饮</li>
                        <li>交通：地铁2号线科技园站步行5分钟，多条公交线路</li>
                        <li>商业：购物中心、超市、银行、邮局等</li>
                        <li>其他：健身房、医务室、会议中心等</li>
                    </ul>
                    <p class="mb-3">费用说明：</p>
                    <ul class="list-disc pl-5">
                        <li>租金：6,800元/月</li>
                        <li>押金：两个月租金</li>
                        <li>物业费：15元/㎡/月，包含在租金中</li>
                        <li>水电费：按实际使用量计费</li>
                    </ul>
                </div>
            </div>
            
            <!-- 配套设施 -->
            <div class="px-4 py-5 bg-white dark:bg-gray-800 mt-2">
                <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3">配套设施</h2>
                <div class="grid grid-cols-4 gap-y-4">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">空调</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">办公桌椅</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">会议桌</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">沙发</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">饮水机</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">微波炉</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">冰箱</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">网络</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">电话</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">打印机</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">投影仪</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm text-gray-600 dark:text-gray-400">电视</span>
                    </div>
                </div>
            </div>
            
            <!-- 联系方式 -->
            <div class="px-4 py-5 bg-white dark:bg-gray-800 mt-2">
                <div class="flex items-center">
                    <div class="w-12 h-12 rounded-full bg-gray-200 dark:bg-gray-700 overflow-hidden mr-3">
                        <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Agent" class="w-full h-full object-cover">
                    </div>
                    <div>
                        <div class="text-base font-medium text-gray-800 dark:text-gray-200">张经理</div>
                        <div class="text-sm text-gray-500 dark:text-gray-400">园区招商专员</div>
                    </div>
                    <div class="ml-auto">
                        <button class="px-4 py-1.5 bg-green-500 dark:bg-green-600 text-white text-sm rounded-full">
                            <i class="fas fa-phone-alt mr-1"></i> 联系电话
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 底部操作栏 -->
        <div class="bottom-action-bar">
            <div class="flex items-center">
                <button class="w-10 h-10 rounded-full bg-gray-100 dark:bg-gray-700 flex items-center justify-center mr-3">
                    <i class="far fa-heart text-gray-600 dark:text-gray-300"></i>
                </button>
                <button class="w-10 h-10 rounded-full bg-gray-100 dark:bg-gray-700 flex items-center justify-center">
                    <i class="far fa-comment-alt text-gray-600 dark:text-gray-300"></i>
                </button>
            </div>
            <div class="flex">
                <button class="px-4 py-2.5 bg-white dark:bg-gray-700 border border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400 text-sm font-medium rounded-l-full">
                    预约看房
                </button>
                <button class="px-4 py-2.5 bg-blue-500 dark:bg-blue-600 text-white text-sm font-medium rounded-r-full">
                    立即申请
                </button>
            </div>
        </div>
    </div>
    
    <script>
        // 检测系统暗色模式
        if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
            document.body.classList.add('dark-mode');
            document.querySelectorAll('.ios-status-bar, .ios-nav-bar, .glass-card, .tag-blue, .tag-green, .tag-purple, .feature-item, .feature-icon, .bottom-action-bar').forEach(el => {
                el.classList.add('dark');
            });
        }
        
        // 监听系统暗色模式变化
        window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
            if (e.matches) {
                document.body.classList.add('dark-mode');
                document.querySelectorAll('.ios-status-bar, .ios-nav-bar, .glass-card, .tag-blue, .tag-green, .tag-purple, .feature-item, .feature-icon, .bottom-action-bar').forEach(el => {
                    el.classList.add('dark');
                });
            } else {
                document.body.classList.remove('dark-mode');
                document.querySelectorAll('.ios-status-bar, .ios-nav-bar, .glass-card, .tag-blue, .tag-green, .tag-purple, .feature-item, .feature-icon, .bottom-action-bar').forEach(el => {
                    el.classList.remove('dark');
                });
            }
        });
    </script>
</body>
</html> 